/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package service;

import dao.BannerDao;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.*;
import bean.Banner;
/**
 *
 * @author root
 */
@Service
public class BannerService {
    @Autowired
    private BannerDao dao;
    
    public List<Banner> getAllBanner(){
        return dao.getListAllBanner();
    }
}
